package com.bilgeadam.swing.program;

import java.awt.Color;

import javax.swing.JButton;

/**
 *
 * @author Bora SAYINER
 * @since Dec 13, 2014 2:08:52 PM
 * @version 1.0
 */
public final class WidgetFactory {

	private WidgetFactory() {

	}
	
	public static JButton createButton(String text) {
		JButton button = new JButton();
		button.setBackground(Color.RED);
		button.setText(text);
		return button;
	}
}
